set1={1,2,5,6,3,4,5,6,7,8,8,9}
print(set1)

set1.add(10)
print(set1)

set1.remove(10)
print(set1)

set1.update([20,58])
print(set1)
#列表转化集合去重复，集合在转化列表得到去重复的列表
alist=[2,5,4,8,5,65,23,8,52,65,85,8,]
b=set(alist)
print(b)

c=list(b)
print(c)

